import { createRouter, createWebHistory } from "vue-router";
import routes from "./routes";

const router = createRouter({
  history: createWebHistory(),
  routes: routes,
  scrollBehavior(to, from, next) {
    return {
      top: 0,
      left: 0,
    };
  },
});

export default router;
